Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix issue with progress bar panic on download #369

Merged

Conversation

joereuss12
Copy link
Contributor

Fixes issue where if the cache sends a permission denied error, the next download tries to utilize the completed bar and panic. Now on failure it calls abort and removes the bar instance.

Fixes issue where if the cache sends a `permission denied` error, the
next download tries to utilize the completed bar and panic. Now on
failure it calls abort and removes the bar instance.
@joereuss12 joereuss12 linked an issue Nov 10, 2023 that may be closed by this pull request
@joereuss12
Copy link
Contributor Author

@jhiemstrawisc I think this fixes the issue you were encountering however, I am having trouble recreating the issue so I kept this as a draft for now until tested. Do you want to give this fix a try and see if it looks right?

@jhiemstrawisc jhiemstrawisc added the bug Something isn't working label Nov 13, 2023
Copy link
Member

@jhiemstrawisc jhiemstrawisc left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@joereuss12, of course, since the errors I was getting were transient in the first place, I can't seem to recreate them either with or without your additions here. Your changes look sensible and don't seem to cause any new errors, though, so let's fly with them.

@jhiemstrawisc jhiemstrawisc marked this pull request as ready for review November 13, 2023 15:38
@jhiemstrawisc jhiemstrawisc merged commit c87f428 into PelicanPlatform:main Nov 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Panic on download of file to /dev/null
2 participants